import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

//导入路由器
import router from './router'
import { createPinia } from "pinia"

const pinia = createPinia()

//导入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCh from 'element-plus/dist/locale/zh-cn.mjs'//中文模式

createApp(App)
.use(ElementPlus,{locale:zhCh})
.use(router)
.use(pinia)
.use(createPinia())
.mount('#app')
